package com.tedu.egnotice1.mapper;

import com.tedu.egnotice1.pojo.dto.NoticeAddQuery;
import com.tedu.egnotice1.pojo.entity.Notice;
import com.tedu.egnotice1.pojo.vo.NoticeDetailInfoVO;
import com.tedu.egnotice1.pojo.vo.NoticeListVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NoticeMapper {
    int insert(Notice notice);
    List<NoticeListVO> select(NoticeAddQuery noticeAddQuery);
    NoticeDetailInfoVO selectById(Long id);
    int delete(Long id);
    int update(Notice notice);
}
